package model;
/**
 * @Description 会话实体类
 * @Author admin
 * @Date 2025-1-7 11:33
 */
public class Session {
    // 会话唯一标识
    private String sessionKey;
    // 会话过期时间
    private long expirationTime;

    public Session(String sessionKey, long expirationTime) {
        this.sessionKey = sessionKey;
        this.expirationTime = expirationTime;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public long getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(long expirationTime) {
        this.expirationTime = expirationTime;
    }
}